namespace LocalBoard.ServerControls
{
	using System;
	using System.Collections;
	using System.Web.UI;
	using System.Web.UI.WebControls;
	using System.ComponentModel;

	/// <summary>
	/// Summary description for MessageItem.
	/// </summary>
	public class MessageItem : System.Web.UI.Control,
																	 System.Web.UI.INamingContainer
	{
		public MessageItem()
		{
		}

		private string _id = "";
		private string _style = "";
		private string _expandSign = "";
		private string _indentation = "";
		private int _messageNo;
		private string _subject;
		private string _postedByName;
		private string _postedByUserId;
		private DateTime _date;
		private int _boardId;
		private int _clubId;
		private int _numberOfView;
		private ArrayList _comments;
		private bool _isChild;

		public string Id
		{
			get{return _id;}
			set{_id = value;}
		}
		public string Style
		{
			get{return _style;}
			set{_style = value;}
		}
		public string ExpandSign
		{
			get{return _expandSign;}
			set{_expandSign = value;}
		}
		public string Indentation
		{
			get	{return _indentation;}
			set	{_indentation = value;}
		}
		public int MessageNo
		{
			get	{return _messageNo;}
			set	{_messageNo = value;}
		}
		public string Subject
		{
			get	{return _subject;}
			set	{_subject = value;}
		}
		public string PostedByUserName
		{
			get	{return _postedByName;}
			set	{_postedByName = value;}
		}
		public string PostedByUserId
		{
			get	{return _postedByUserId;}
			set	{_postedByUserId = value;}
		}
		public DateTime Date
		{
			get	{return _date;}
			set	{_date = value;}
		}
		public int BoardId
		{
			get {return _boardId;}
			set {_boardId = value;}
		}
		public int ClubId
		{
			get {return _clubId;}
			set {_clubId = value;}
		}
		public int Hits
		{
			get	{return _numberOfView;}
			set	{_numberOfView = value;}
		}
		public ArrayList Comments
		{
			get	{return _comments;}
			set	{_comments = value;}
		}
		public bool IsChild
		{
			get {return _isChild;}
			set {_isChild = value;}
		}
	}
}
